package top.lcpsky.flashcards.mapper;

import java.util.List;

import top.lcpsky.flashcards.entity.Stock;

public interface StockMapper {
    int deleteByPrimaryKey(String code);

    int insert(Stock record);

    int insertSelective(Stock record);

    Stock selectByPrimaryKey(String code);

    int updateByPrimaryKeySelective(Stock record);

    int updateByPrimaryKey(Stock record);

	/**   
	 * @Title: findAll   
	 * @param: @return      
	 * @return: List<Stock>      
	 * @throws   
	 */
	List<Stock> findAll();

	/**   
	 * @Title: getEnableStock   
	 * @param: @return      
	 * @return: List<Stock>      
	 * @throws   
	 */
	List<Stock> getEnableStock();
}